Here is the documentation for Mildred v1.38
Mildred v1.38 and any earlier versions are Copyright (c) 1998-1999 Paul West and
Pagan Software.
Information
History
cpu
MCPU Processor.b" ; Set cpu routines allowed to use. 0..3=000..030+, or >=4=040+. CAREFUL!!
Mc2pCPUmode CPU.b ; Set cpu c2p uses. Use `Processor' or MProcessor. <4=030-, >3=040+
M040c2pUsage Status.b ; On/Off - Availability of 040 c2p. Overrides Mc2pCPUmode
MProcessor ; Returns value 0..6 representing MC68000..MC68060 cpu according to exec\AttnFlags
c2p
MReservec2pWindows [(]NumberOfWindows.w[)] ; Reserve structure-memory for c2pWindows
MAutoUsec2pWindows True/False ; Automatically `use' new c2pWindows. <>0=True
Mc2pRowLacing State.b ; Toggle row-lacing in c2p On/Off. NonZero=On
Mc2pColumnLacing State.b ; Toggle column-lacing in c2p On/Off
Mc2pRowToggle ; Toggle c2p row lacing between Even/Odd rows
Mc2pColumnToggle ; Toggle c2p column lacing between Even/Odd columns
Mc2pToggleSingle ; Toggle c2p lacing for single-buffered display
Mc2pToggleDouble Buf.b ; 0 or 1. Toggle c2p lacing for double-buffered display
Mc2pToggleTriple Buf.b ; 0, 1 or 2. Toggle c2p lacing for triple-buffered display
Mc2pToggle Buffers.b,Buf.b ; 1, 2 or 3, and 0, 1 or 2. Toggle c2p lacing.
Mc2pWindow c2pWindow#.w,OpWidth.w,OpHeight.w[,SourceBWidth.w[,Processor.b],PlanarWidth.w,PlanarHeight.w]
Mc2pWindowWidth (c2pWindowNumber.w) ; Returns width of c2pWindow
Mc2pWindowHeight (c2pWindowNumber.w) ; Returns height of c2pWindow
Mc2pWindowNewHeight c2pWindow#.w,NewHeight.w ; Change height of already defined c2p object
Mc2p [[c2pWindow#.w],Chunky.l],Planar.l ; Convert chunky to planar (Use Mc2pWindow first)
MFreec2pWindows[Firstc2pWindow.w,Lastc2pWindow.w] ; Free/delete all/range of c2pwindows
MFreec2pWindow Free/delete a pre-existing c2pWindow
MUsec2pWindows Mainc2pWindowNum.w[,Secondc2pWindowNum.w[,Thirdc2pWindowNum.w]] ; Current to use
MUsec2pWindow c2pWindowNumber.w ; Current to use
MUsedc2pWindow ; Returns currently used c2pWindow
MAddrc2pWindow (c2pWindowNumer.w} ; Returns address of c2pWindow structure
MCopyc2pWindow MSourcec2pWindow.w,Destc2pWindow.w ; Copy definition-data only
shapes
MReserveShapes [(]NumberOfShapes.w[,ShapeBankToUse.w][)] ; Reserve structure-memory for Shapes
MAutoCookie On/Off ; Autocreation of ByteForByte cookies
MAutoUseShapes True/False ; Automatically `use' new shapes. <>0=True
MAutoShapeWrap On/Off ; Auto X&Y Handle-wrapping for Shapes
MAutoShapeClip Status.b ; Auto-clip new Shapes. On/Off
MInitShape [(]ShapeNumber.w,Width.w,Height.w[)] ; Allocmem for shape data
MShape [(]ShapeNumber.w,Width.w,Height.w[)] ; Allocmem for shape data
MCludgeShape ShapeNumber.w,Width.w,Height.w,Memory.l ; Cludge shape from existing mem
MCludgeShapeStruct [(]SourceShape.w,DestShape.w[)] ; Copy definition-data only
MShapeWindow [(]SourceShape.w,DestShape.w,X.w,Y.w,Width.w,Height.w[)] ; Cludge Shape within a Shape
MBitmapShape [(]SourceBitmap.w,DestShape.w[)] ; Copy definition-data only
MCludgeCookie ShapeNumber.w,Memory.l ; Cludge shape's cookie from existing mem
MFreeShapes [FirstShape.w,LastShape.w] ; Free/delete all/range of Shapes
MFreeShape ShapeNumber.w ; Free/delete a pre-existing Shape
MShapeWidth (ShapeNumber.w) ; Returns width of Shape
MShapeHeight (ShapeNumber.w) ; Returns height of Shape
MAddrShape (ShapeNumber.w) ; Returns address of Shape structure
MHandle ShapeNumber.w,XOffset.w,YOffset.w ; Set handle of Shape
MMidHandle ShapeNumber.w ; Set handle to middle of Shape
MUseShapes MainShapeNum.w[,SecondShapeNum.w[,ThirdShapeNum.w]] ; Current Shape(s) to use
MUseShape ShapeNumber.w ; Current Shape to use
MUsedShape ; Returns currently used Shape
MMakeCookies [FirstShape.w,LastShape.w] ; Make cookies for all/range of shapes
MMakeCookie ShapeNumber.w ; Make a cookie for a shape
MFreeCookies [FirstShape.w,LastShape.w] ; Free all/range of cookies
MFreeCookie ShapeNumer.w ; Free's the Shape's cookie
MShapeWrap ShapeNumber.w,On/Off ; De/Activate X&Y Handle-Wrap for Shape
MCopyHandle SourceShapeNumber.w,DestShapeNumber.w ; Copy a shape's handle to another shape
MAutoCookieXFlip On/Off ; Auto X-Flip for Shape's cookie
MAutoCookieYFlip On/Off ; Auto Y-Flip for Shape's cookie
MAutoCookieFlip On/Off ; Auto X&Y Cookie-Flip for Shapes
MShapeXFlip ShapeNumber.w ; Horizontally flip a Shape (see MAutoCookieFlip)
MShapeYFlip ShapeNumber.w ; Vertically flip a Shape (see MAutoCookieFlip)
MCookieXFlip ShapeNumber.w ; Horizontally flip a Shape's cookie
MCookieYFlip ShapeNumber.w ; Vertically flip a Shape's cookie
MShapeClip ShapeNumber.w[,X.w,Y.w,Width.w,Height.w][,Active] ; Active=On/Off. Define Shape's clip window
MGetaShape ShapeNumber.w,X.w,Y.w,Width.w,Height.w[,Block?,StencilIsCookie?] ; Grab shape from bitmap
MUseShapeBank BankNumber.w ; Current shape bank, 0..31
MShapePtr [Xpos.w,Ypos.w][,ShapeNumber.w] ; Return data address calculated using shape [and coords]
MCookiePtr [Xpos.w,Ypos.w][,ShapeNumber.w] ; Return address calculated using cookie [and coords]
bitmaps
MReserveBitmaps [(]NumberOfBitmaps.w[)] ; Reserve structure-memory for Bitmaps
MAutoStencil On/Off ; Autocreation of ByteForByte stencils
MAutoUseBitmaps True/False ; Automatically `use' new bitmaps. <>0=True
MAutoBitmapWrap On/Off ; Auto X&Y Handle-Wrapingp for Bitmaps
MAutoBitmapClip Status.b ; Auto-clip new Bitmaps. On/Off
MBitmap [(]BitmapNumber.w,Width.w,Height.w[)] ; Allocmem for bitmap data
MCludgeBitmap BitmapNumber.w,Width.w,Height.w,Memory.l ; Cludge bitmap from existing mem
MCludgeBitmapStruct [(]SourceBitmap.w,DestBitmap.w[)] ; Copy definition-data only
MBitmapWindow [(]SourceBitmap.w,DestBitmap.w,X.w,Y.w,Width.w,Height.w[)] ; Cludge Bitmap within a Bitmap
MShapesBitmap [(]SourceShape.w,DestBitmap.w[)] ; Copy definition-data only
MCludgeStencil BitmapNumber.w,Memory.l ; Cludge bitmap's stencil from existing mem
MFreeBitmaps [FirstBitmap.w,LastBitmap.w] ; Free/delete all/range of Bitmaps
MFreeBitmap BitmapNumber.w ; Free/delete a pre-existing Bitmap
MBitmapWidth (BitmapNumber.w) ; Returns width of Bitmap
MBitmapHeight (BitmapNumber.w) ; Returns height of Bitmap
MAddrBitmap (BitmapNumber.w) ; Returns address of Bitmap structure
MBitmapOrigin BitmapNumber.w,XOffset.w,YOffset.w ; Set origin of Bitmap
MBitmapMidOrigin BitmapNumber.w ; Set origin to middle of Bitmap
MUseBitmaps MainBitmapNum.w[,SecondBitmapNum.w[,ThirdBitmapNum.w]] ; Current Bitmap to use
MUseBitmap BitmapNumber.w ; Current Bitmap to use
MUsedBitmap ; Returns currently used Bitmap
MMakeStencils [FirstBitmap.w,LastBitmap.w] ; Make stencils for all/range of bitmaps
MMakeStencil BitmapNumber.w ; Make a stencil for a bitmap
MFreeStencils [FirstBitmap.w,LastBitmap.w] ; Free all/range of stencils
MFreeStencil BitmapNumber.w ; Free's the Bitmap's stencil
MBitmapWrap BitmapNumber.w,On/Off ; De/Activate X&Y Handle-Wrap for Bitmap
MCopyOrigin SourceBitmapNumber.w,DestBitmapNumber.w ; Copy a bitmap's origin to another bitmap
MAutoStencilXFlip On/Off ; Auto X-Flip for Bitmap's stencil
MAutoStencilYFlip On/Off ; Auto Y-Flip for Bitmap's stencil
MAutoStencilFlip On/Off ; Auto X&Y Stencil-Flip for Bitmaps
MBitmapXFlip BitmapNumber.w ; Horizontally flip a Bitmap (see MAutoStencilFlip)
MBitmapYFlip BitmapNumber.w ; Vertically flip a Bitmap (see MAutoStencilFlip)
MStencilXFlip BitmapNumber.w ; Horizontally flip a Bitmap's stencil
MStencilYFlip BitmapNumber.w ; Vertically flip a Bitmap's stencil
MBitmapClip BitmapNumber.w[,X.w,Y.w,Width.w,Height.w][,Active] ; Active=On/Off. Define Bitmap's clip window
MGetaBitmap BitmapNumber.w,X.w,Y.w,Width.w,Height.w[,Block?,CookieIsStencil?] ; Grab bitmap from shape
MBitmapPtr [Xpos.w,Ypos.w][,BitmapNumber.w] ; Return data address calculated using bitmap [and coords]
MStencilPtr [Xpos.w,Ypos.w][,BitmapNumber.w] ; Return address calculated using stencil [and coords]
scrolls
MScroll X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceBitmapNum.w] ; Copy graphic
MScrollShape X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceShapeNum.w] ; Copy graphic
MScrollStencil X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceBitmapNum.w] ; Copy stencil to stencil only
MScrollCookie X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceShapeNum.w] ; Copy cookie to cookie only
MScrollBitmapToShape X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceBitmapNum.w] ; Copy bitmap to shape
MScrollShapeToBitmap X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceShapeNum.w] ; Copy shape to bitmap
MScrollStencilToCookie X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceBitmapNum.w] ; Copy stencil to cookie
MScrollCookieToStencil X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceShapeNum.w] ; Copy cookie to stencil
MMaskScroll X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceBitmapNum.w] ; Copy bitmap graphic with stencil-cut
MMaskScrollShape X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceShapeNum.w] ; Copy shape graphic with cookie-cut
MMaskScrollStencil X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceBitmapNum.w];Copy stencil2stencil & stencil-cut
MMaskScrollCookie X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceShapeNum.w] ; Copy cookie to cookie & cookie-cut
MMaskScrollBitmapToShape X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceBitmapNum.w] ; Copy bitmap to shape & cut
MMaskScrollShapeToBitmap X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceShapeNum.w] ; Copy shape to bitmap & cut
MMaskScrollStencilToCookie X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceBitmapNum.w] ;Copy stencil2cookie & cut
MMaskScrollCookieToStencil X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceShapeNum.w] ; Copy cookie2stencil & cut
MBlockScroll X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceBitmapNum.w] ; BlockCopy graphic
MBlockScrollShape X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceShapeNum.w] ; BlockCopy graphic
MBlockScrollStencil X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceBitmapNum.w] ; BlockCopy stencil to stencil
MBlockScrollCookie X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceShapeNum.w] ; BlockCopy cookie to cookie
MBlockScrollBitmapToShape X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceBitmapNum.w] ; BlockCopy bitmap to shape
MBlockScrollShapeToBitmap X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceShapeNum.w] ; BlockCopy shape to bitmap
MBlockScrollStencilToCookie X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceBitmapNum.w];BlockCopy stencil2cookie
MBlockScrollCookieToStencil X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceShapeNum.w] ; BlockCopy cookie2stencil
MSScroll X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceBitmapNum.w] ; Copy bm 2 bm and st 2 st
MSScrollShape X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceShapeNum.w] ; Copy sh 2 sh and ck 2 ck
MSScrollBitmapToShape X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceBitmapNum.w] ; Copy bm 2 sh and st 2 ck
MSScrollShapeToBitmap X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceShapeNum.w] ; Copy sh 2 bm and ck 2 st
MSMaskScroll X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceBitmapNum.w] ; Stencil-Copy bm 2 bm and st 2 st
MSMaskScrollShape X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceShapeNum.w] ; Cookie-Copy sh2sh and ck2ck
MSMaskScrollBitmapToShape X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceBitmapNum.w] ;Sten-Copy bm2sh&st2ck
MSMaskScrollShapeToBitmap X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceShapeNum.w] ; Cook-Copy sh2bm&ck2st
MSBlockScroll X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceBitmapNum.w] ; Block-Copy bm 2 bm and st 2 st
MSBlockScrollShape X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceShapeNum.w] ; Block-Copy sh2sh and ck2ck
MSBlockScrollBitmapToShape X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceBitmapNum.w];BlockCopy bm2sh&st2ck
MSBlockScrollShapeToBitmap X1.w,Y1.w,Width.w,Height.w,X2.w,Y2.w[,SourceShapeNum.w];BlockCopy sh2bm&ck2st
MSScrollCut On/Off ; 0=Paste stencil/cookie, <>0=Cut using stencil/cookie
MMaskScrollMode Mode.w ; CookieMode/EraseMode/InvMode/SolidMode/MColourMode/MReMapMode/MSimpleReMapMode
MSMaskScrollMode Mode.w ; CookieMode/EraseMode/InvMode/SolidMode/MColourMode/MReMapMode/MSimpleReMapMode
drawing
MInk Colour.b ; Set what colour to assume as currently used. 0..255
MCls [Colour] Clear a bitmap to colour 0 or the specified colour
MClsShape [Colour] Clear a shape to colour 0 or the specified colour
MClsStencil [Colour] Clear a stencil to colour 0 or the specified colour
MClsCookie [Colour] Clear a cookie to colour 0 or the specified colour
MPlot Xpos.w,Ypos.w[,Colour] ; Plot a single pixel in the bitmap [to the specified colour]
MPlotShape Xpos.w,Ypos.w[,Colour] ; Plot a single pixel in the shape [to the specified colour]
MPlotStencil Xpos.w,Ypos.w[,Colour] ;Plot a single pixel in the stencil to *represent* the [specified] colour
MPlotCookie Xpos.w,Ypos.w[,Colour] ; Plot a single pixel in the cookie to *represent* the [specified] colour
MPoint (Xpos.w,Ypos.w) ; Return the colour of a single pixel in a bitmap
MPointShape (Xpos.w,Ypos.w) ; Return the colour of a single pixel in a shape
MPointStencil (Xpos.w,Ypos.w) ; Return the status of a single pixel in a stencil. -1=Data, 0=Background
MPointCookie (Xpos.w,Ypos.w) ; Return the status of a single pixel in a cookie. -1=Data, 0=Background
MBoxF Xpos.w,Ypos.w,Xpos2.w,Ypos2.w[,Colour] Draw a filled box in a bitmap [to specified colour]
MBoxFShape Xpos.w,Ypos.w,Xpos2.w,Ypos2.w[,Colour] Draw a filled box in a shape [to specified colour]
MBoxFStencil Xpos.w,Ypos.w,Xpos2.w,Ypos2.w[,Colour] Draw a filled box in a stencil [to specified colour]
MBoxFCookie Xpos.w,Ypos.w,Xpos2.w,Ypos2.w[,Colour] Draw a filled box in a cookie [to specified colour]
MBox Xpos.w,Ypos.w,Xpos2.w,Ypos2.w[,Colour] Draw an unfilled box in a bitmap [to specified colour]
MBoxShape Xpos.w,Ypos.w,Xpos2.w,Ypos2.w[,Colour] Draw an unfilled box in a shape [to specified colour]
MBoxStencil Xpos.w,Ypos.w,Xpos2.w,Ypos2.w[,Colour] Draw an unfilled box in a stencil [to specified colour]
MBoxCookie Xpos.w,Ypos.w,Width.w,Height.w[,Colour] Draw an unfilled box in a cookie [to specified colour]
MLine [Xpos.w,Ypos.w,]Xpos2.w,Ypos2.w[,Colour.b] ;Draw a line from X1,Y1 to X2,Y2 in a Bitmap [in Colour]
MLineShape [Xpos.w,Ypos.w,]Xpos2.w,Ypos2.w[,Colour.b] ;Draw a line from X1,Y1 to X2,Y2 in a Shape, [in Colour]
MLineStencil [Xpos.w,Ypos.w,]Xpos2.w,Ypos2.w[,Colour.b];Draw a line from X1,Y1 to X2,Y2 in a stencil, [in Col]
MLineCookie [Xpos.w,Ypos.w,]Xpos2.w,Ypos2.w[,Colour.b] ;Draw a line from X1,Y1 to X2,Y2 in a cookie, [in Col]
tiles
MTile16x16 [ShapeNumber.w,]Xpos.w,Ypos.w ; Block-blit 16x16 shape to bitmap, size must be 16x16, align x/y
MTile32x32 [ShapeNumber.w,]Xpos.w,Ypos.w ; Block-blit 32x32 shape to bitmap, size must be 32x32, align x/y
MSTile16x16 [ShapeNumber.w,]Xpos.w,Ypos.w ; Block-blit 16x16 shape&cook 2 bitmap, size 16x16, align x/y
MSTile32x32 [ShapeNumber.w,]Xpos.w,Ypos.w ; Block-blit 32x32 shape&cook 2 bitmap, size 32x32, align x/y
MSTile16x16Store [ShapeNumber.w,]Xpos.w,Ypos.w ; Block-blit 16x16 shape&cook 2 bitmaps, size 16x16, align x/y
MSTile32x32Store [ShapeNumber.w,]Xpos.w,Ypos.w ; Block-blit 32x32 shape&cook 2 bitmaps, size 32x32, align x/y
MTile16x16Store [ShapeNumber.w,]Xpos.w,Ypos.w ; Block-blit 16x16 shape to 2 bitmaps, size 16x16, align x/y
MTile32x32Store [ShapeNumber.w,]Xpos.w,Ypos.w ; Block-blit 32x32 shape to 2 bitmaps, size 32x32, align x/y
queues
MReserveQueues [(]NumberOfQueues.w[)] ; Reserve structure-memory for Queues
MAutoUseQueues True/False ; Automatically `use' new Queues. <>0=True
MQueue [(]QueueNumber.w,NumberOfItems.w[)] ; Allocmem for Queue list items
MQDummy [Queue.w,]Xpos.w,Ypos.w,Width.w,Height.w ; Add an item to a queue without having to do a blit
MUnQueue QueueNumber.w[,BitmapNumber.w] ; UnQueue the queued objects and flush the queue
MUnQueueRange QueueNumber.w,FirstItem.w,LastItem.w[,BitmapNumber.w] ; UnQueue a range of queued objects
MFlushQueue QueueNumber.w ; Empties the queue to contain no items
MFreeQueues [FirstQueue.w,LastQueue.w] ; Free/delete all/range of Queues
MFreeQueue QueueNumber.w ; Free/delete a pre-existing Queue
MAddrQueue (QueueNumber.w} ; Returns address of Queue structure
MUseQueues MainQueueNum.w[,SecondQueueNum.w[,ThirdQueueNum.w]] ; Current to use
MUseQueue QueueNumber.w ; Current to use
MUsedQueue ; Returns currently used Queue
blits
MColourMode ;Returns value 4 which represents `colour' mode in the blit modes
MReMapMode ;Returns value 5 which represents `ReMap' mode in the blit modes (uses current 2-dimensional table)
MSimpleReMapMode ;Returns value 6 which is `SimpleReMap' mode in blit modes (uses current 1-dimensional table)
MBlitMode Mode.w ; CookieMode/EraseMode/InvMode/SolidMode/MColourMode/MReMapMode/MSimpleReMapMode
MBlit [ShapeNumber.w,]Xpos.w,Ypos,w ; Blit shape to bitmap, any coords
MBlock [ShapeNumber.w,]Xpos.w,Ypos.w ; Block-blit shape to bitmap, align Xpos and width in multiples of 16!
MQBlitMode Mode.w ; CookieMode/EraseMode/InvMode/SolidMode/MColourMode/MReMapMode/MSimpleReMapMode
MQBlit [[Queue.w,]ShapeNumber.w,]Xpos.w,Ypos,w ; QBlit shape to bitmap, any coords
MQBlock [[Queue.w,]ShapeNumber.w,]Xpos.w,Ypos.w ; QBlock-blit shape 2 bitmap, align Xpos & width in mult of 16
MSBlitMode Mode.w ; CookieMode/EraseMode/InvMode/SolidMode/MColourMode/MReMapMode/MSimpleReMapMode
MSBlit [ShapeNumber.w,]Xpos.w,Ypos,w ; Blit shape to bitmap and cookie to stencil, any coords
MSBlock [ShapeNumber.w,]Xpos.w,Ypos.w ; Block-blit shape to bitmap & cookie 2 stencil, Xpos&Width in 16's
MSBlitCut On/Off ; 0=Paste stencil/cookie, <>0=Cut using stencil/cookie
MQSBlitMode Mode.w ; CookieMode/EraseMode/InvMode/SolidMode/MColourMode/MReMapMode/MSimpleReMapMode
MQSBlit [[Queue.w,]ShapeNumber.w,]Xpos.w,Ypos,w ; QBlit shape to bitmap and cookie to stencil, any coords
MQSBlock [[Queue.w,]ShapeNumber.w,]Xpos.w,Ypos.w ; QBlock-blit shape 2 bitmap, Xpos&width mult of 16
MQSBlitCut On/Off ; 0=Paste stencil/cookie, <>0=Cut using stencil/cookie. Adds entry to queue
tables
MReserveTables [(]NumberOfTables.w[)] ; Reserve structure-memory for Tables
MAutoUseTables True/False ; Automatically `use' new Tables. <>0=True
MTable [(]TableNumber.w,SizeInBytes.l[)] ; Allocmem for Table list items
MFreeTables [FirstTable.w,LastTable.w] ; Free/delete all/range of Tables
MFreeTable TableNumber.w ; Free/delete a pre-existing Table
MAddrTable (TableNumber.w} ; Returns address of Table structure
MFlushTable TableNumber.w ; Empties the table to contain no items
MUseTables MainTableNum.w[,SecondTableNum.w[,ThirdTableNum.w]] ; Current to use
MUseTable TableNumber.w ; Current to use
MUsedTable ; Returns currently used Table
MTablePtr [TableNum.w] ; Returns pointer to base of the table itself
transfer
MPlanar16ToBitmap BitmapNum.w,PlanarAddr.l[,OpWidth.w,OpHeight.w,PlanarWidth.w,PlanarHeight.w] ; Convert p2c
MPlanar16ToShape ShapeNum.w,PlanarAddr.l[,OpWidth.w,OpHeight.w,PlanarWidth.w,PlanarHeight.w] ; Convert p2c
MReMap [Colour#0.b,Colour#1.b,BitmapNum.w] *or* [RemapTable.l[,BitmapNum.w]] ; Remap #0 to #1 or with table
MReMapShape [Colour#0.b,Colour#1.b,ShapeNum.w] *or* [RemapTable.l[,ShapeNum.w]] ; Remap #0 to #1 or with table
MReMapUsingShape RemapTable.l[,SourceShapeNum.w[,DestBitmapNum.w]] ;Merge shape to bitmap using 2xWay Table
MReMapShapeUsingShape RemapTable.l[,SourceShapeNum.w[,DestShapeNum.w]] ;Merge shape to shape using 2xWay Table
MPictureDissolveIn PictureBitmapNum.w,Colour.b ; Do a picture-based colour-number dissolve-in of a bitmap
particles
MParticleMode Mode.w ; MColourMode, MSimpleReMapMode or MReMapMode - to use in particle plot/draw
MPlotParticles CoordinateList.l,NumPoints.l[,Colour.b] ; Plot lots of points from an X.w,Y.w table of coords
MGrabParticles CoordinateList.l,NumPoints.l,Buffer.l ; Grab lots of points from X.w,Y.w table, into buffer mem
MDrawParticles CoordinateList.l,NumPoints.l,Buffer.l ; Draw lots of previously grabbed points, using X.w,Y.w's
MGrabParticlesAndPlot CoordinateList.l,NumPoints.l,Buffer.l[,Colour.b]; Grabs points X.w,Y.w to buffer & plots
MAddToParticles CoordinateList.l,NumPoints.l,IncA.l[,IncB.l] ; Add X.w,Y.w to X.w,Y.w items in particle list
MReboundParticles CoordinateList.l,NumPoints.l,DirectionList.l,DetectSize.w ; Bounce particles off edges
MWrapParticles CoordinateList.l,NumPoints.l ; Bring particles in from opposite edge to which they left
MAddXYToParticles CoordinateList.l,NumPoints.l,XToAdd.w,YToAdd.w ; Add constants to all particles
MPlotParticlesA AddressList.l,NumPoints.l[,Colour.b] ; Plot lots of points from an Ptr.l table of coords
MGrabParticlesA AddressList.l,NumPoints.l,Buffer.l ; Grab lots of points from Ptr.l table, into buffer mem
MDrawParticlesA AddressList.l,NumPoints.l,Buffer.l ; Draw lots of previously grabbed points, using Ptr.l's
MGrabParticlesAndPlotA AddressList.l,NumPoints.l,Buffer.l[,Colour.b] ; Grabs points Ptr.l to buffer & plots
MAddToParticlesA AddressList.l,NumPoints.l,IncA.l[,IncB.l] ; Add Ptr.l to Ptr.l items in particle list
MWrapParticlesA CoordinateList.l,NumPoints.l ; Bring particles in from opposite edge to which they left
MAddXYToParticlesA CoordinateList.l,NumPoints.l,ValueToAdd.l ; Add constant to all particle pointers
MPlotParticlesQ CoordinateList.l,NumPoints.l[,Colour.b] ; Plot lots of points from an X.q,Y.q table of coords
MGrabParticlesQ CoordinateList.l,NumPoints.l,Buffer.l ; Grab lots of points from X.q,Y.q table, to buffer mem
MDrawParticlesQ CoordinateList.l,NumPoints.l,Buffer.l ; Draw previously grabbed points, using X.q,Y.q's
MGrabParticlesAndPlotQ CoordinateList.l,NumPoints.l,Buffer.l[,Colour.b];Grabs points X.q,Y.q to buffer & plots
MAddToParticlesQ CoordinateList.l,NumPoints.l,IncA.l[,IncB.l] ; Add X.q,Y.q to X.q,Y.q items in particle list
MReboundParticlesQ CoordinateList.l,NumPoints.l,DiectionList.l,DetectSize.w ; Bounce particles off edges
MWrapParticlesQ CoordinateList.l,NumPoints.l ; Bring particles in from opposite edge to which they left
MAddXYToParticlesQ CoordinateList.l,NumPoints.l,XToAdd.q,YToAdd.q ; Add constants to all particles
others
MGenericPtr Xpos.w,Ypos.w,BaseAddress.l,RowWidth.w ; Calculate and return address based on inputs
converted with guide2html by Kochtopf